<!DOCTYPE html>
<html>
<head>
    <title>StudentAttendenceInfoTable</title>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
    <link rel="stylesheet" href="../../css/bootstrap.min.css">
    <link rel="stylesheet" href="../../css/font-awesome.min.css">
    <link rel="stylesheet" href="../../plugins/jqgrid/ui.jqgrid-bootstrap.css">
    <link rel="stylesheet" href="../../plugins/ztree/css/metroStyle/metroStyle.css">
    <link rel="stylesheet" href="../../css/bootstrap-table.min.css">
    <link rel="stylesheet" href="../../css/main.css">
    <link rel="stylesheet" href="../../plugins/treegrid/jquery.treegrid.css">
    <script src="../../libs/jquery.min.js"></script>
    <script src="../../plugins/layer/layer.js"></script>
    <script src="../../libs/bootstrap.min.js"></script>
    <script src="../../libs/vue.min.js"></script>
    <script src="../../libs/validator.min.js"></script>
    <script src="../../plugins/jqgrid/grid.locale-cn.js"></script>
    <script src="../../plugins/jqgrid/jquery.jqGrid.min.js"></script>
    <script src="../../plugins/ztree/jquery.ztree.all.min.js"></script>
    <script src="../../js/common.js"></script>
    <script src="../../libs/My97DatePicker/4.8/WdatePicker.js"></script>
</head>
<body>
<div id="rrapp" v-cloak>
    <div v-show="showList" id="container-Length">
        <div class="row">
            <div class="form-group col-sm-2 set-paddingLeft">
                <input type="text" class="form-control" v-model="q.key" @keyup.enter="query" value="" placeholder="学院">
            </div>
            <div class="form-group col-sm-2">
                <select  class="form-control" id="College">
                </select>
            </div>
            <div class="form-group col-sm-2">
                <select  class="form-control" id="Profession">
                    <option value=''>请先选择学院</option>
                </select>
            </div>
            <div class="form-group col-sm-2">
                <select  class="form-control" id="Class">
                    <option value=''>请先选择学院</option>
                </select>
            </div>
        </div>
        <div class="row">
            <div class="form-group col-sm-2 set-paddingLeft">
                <input type="text" class="form-control" onfocus="WdatePicker()" id="startDate" name="startDate" placeholder="开始时间"/>
            </div>
            
            <div class="form-group col-sm-2">
                <input type="text" class="form-control" onfocus="WdatePicker()" id="endDate" name="endDate"  placeholder="结束时间"/>
            </div>
            <div class="btn-container">
                <span  class="normal-btn normal-color" onclick="setDate('1')">今日</span>
                <span  class="normal-btn normal-color" onclick="setDate('2')">本周</span>
                <span  class="normal-btn normal-color" onclick="setDate('3')">本月</span>
            </div>
        </div>
        <div class="btn-container" style="margin-bottom: 15px">
            <a class="normal-btn search-color" @click="query">查询</a>
            <a id="exportExcel" class="normal-btn normal-color" >导出</a>
            <!--<a class="btn btn-primary" @click="del"><i class="fa fa-trash-o"></i>&nbsp;删除</a>-->
        </div>
        <div>
            
            <table id="jqGrid"></table >
            <div id="jqGridPager">
            </div>
        </div>
    </div>
    <div v-show="!showList">
        
        <div class="row">
            <div class="form-group col-sm-2 set-paddingLeft">
                 <select  class="form-control" id="State">
                     <option value=''>全部</option>
                     <option value='出勤'>出勤</option>
                     <option value='迟到'>迟到</option>
                     <option value='旷课'>旷课</option>
                     <option value='早退'>早退</option>
                     <option value='请假'>请假</option>
                 </select>
            </div>
            <div class="btn-container">
                <a id="exportDetailsExcel" class="normal-btn normal-color" >导出</a>
                <span class="return-btn" @click="reload" >返回</span>
            </div>
            
        </div>
        <div id="getWidth" >
            <table id="jqGridDetails"></table>
            <div id="jqGridDetailsPager"></div>
        </div>
     </div>   
<!--<div class="loginContainer">-->
    <!--<div class="loginContent">-->
        <!--请点击要查询班级的状态:<br><br>-->
        <!--<a class="btn btn-primary" onclick="changeOption('')"><i class="fa fa-pencil-square-o"></i>&nbsp;全部</a><br>-->
        <!--<a class="btn btn-primary" onclick="changeOption('出勤')"><i class="fa fa-pencil-square-o"></i>&nbsp;出勤</a><br>-->
        <!--<a class="btn btn-primary" onclick="changeOption('迟到')"><i class="fa fa-pencil-square-o"></i>&nbsp;迟到</a><br>-->
        <!--<a class="btn btn-primary" onclick="changeOption('旷课')"><i class="fa fa-pencil-square-o"></i>&nbsp;旷课</a><br>-->
        <!--<a class="btn btn-primary" onclick="changeOption('早退')"><i class="fa fa-pencil-square-o"></i>&nbsp;早退</a><br>-->
        <!--<a class="btn btn-primary" onclick="changeOption('请假')"><i class="fa fa-pencil-square-o"></i>&nbsp;请假</a><br><br><br>-->

        <!--<div class="close"></div>-->
    <!--</div>-->
<!--</div>-->
<script src="../../js/modules/jxgk/class_attendence_info.js"></script>
</body>
</html>